package com.zlm.huanxin.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author: duyufu
 * @Date: 2019/7/17 9:33
 */
public class HxGroupDetailResponse implements Serializable {

    private static final long serialVersionUID = 8939494909249014958L;

    private String id;

    private String name;

    private String description;

    private Boolean membersonly;

    private Boolean allowinvites;

    private Integer maxusers;

    private String owner;

    private Date created;

    private String custom;
    @JSONField(name = "affiliations_count")
    private Integer affiliationsCount;

    private List<GroupMemberResponse> affiliations;
    @JSONField(name = "public")
    private Boolean isPublic;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Boolean getMembersonly() {
        return membersonly;
    }

    public void setMembersonly(Boolean membersonly) {
        this.membersonly = membersonly;
    }

    public Boolean getAllowinvites() {
        return allowinvites;
    }

    public void setAllowinvites(Boolean allowinvites) {
        this.allowinvites = allowinvites;
    }

    public Integer getMaxusers() {
        return maxusers;
    }

    public void setMaxusers(Integer maxusers) {
        this.maxusers = maxusers;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public String getCustom() {
        return custom;
    }

    public void setCustom(String custom) {
        this.custom = custom;
    }

    public Integer getAffiliationsCount() {
        return affiliationsCount;
    }

    public void setAffiliationsCount(Integer affiliationsCount) {
        this.affiliationsCount = affiliationsCount;
    }

    public List<GroupMemberResponse> getAffiliations() {
        return affiliations;
    }

    public void setAffiliations(List<GroupMemberResponse> affiliations) {
        this.affiliations = affiliations;
    }

    public Boolean getPublic() {
        return isPublic;
    }

    public void setPublic(Boolean aPublic) {
        isPublic = aPublic;
    }
}
